|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.cad.CADShapeFactory
public abstract class CADShapeFactory
Class to provide factory methods
Constructor Summary | |
---|---|
protected |
CADShapeFactory()
|
Method Summary | |
---|---|
static CADShapeFactory |
getFactory()
Return factory instance |
protected abstract CADShapeEnum |
getShapeEnumInstance(java.lang.String name)
|
abstract CADGeomCurve2D |
newCurve2D(CADEdge E,
CADFace F)
Create a new CADGeomCurve2D |
abstract CADGeomCurve3D |
newCurve3D(CADEdge E)
Create a new CADGeomCurve3D |
abstract CADExplorer |
newExplorer()
Create a new CADExplorer |
abstract CADIterator |
newIterator()
Create a new CADIterator |
abstract CADShape |
newShape(CADShape s1,
CADShape s2,
char op)
Create a new CADShape with boolean operation on 2 sshapes. |
abstract CADShape |
newShape(java.lang.Object o)
Create a new CADShape wrapping an object of the underlying implementation |
abstract CADShape |
newShape(java.lang.String fileName)
Create a new CADShape by loading it from a file |
protected abstract java.util.Iterator<CADShapeEnum> |
newShapeEnumIterator(CADShapeEnum start,
CADShapeEnum end)
|
abstract CADWireExplorer |
newWireExplorer()
Create a new CADWireExplorer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CADShapeFactory()
Method Detail |
---|
public static CADShapeFactory getFactory()
public abstract CADShape newShape(java.lang.Object o)
o
- An object of the underlying implementation
public abstract CADShape newShape(CADShape s1, CADShape s2, char op)
s1
- First shapes2
- Second shapeop
- Boolean operator
public abstract CADShape newShape(java.lang.String fileName)
fileName
- The file to read
public abstract CADExplorer newExplorer()
public abstract CADWireExplorer newWireExplorer()
protected abstract CADShapeEnum getShapeEnumInstance(java.lang.String name)
protected abstract java.util.Iterator<CADShapeEnum> newShapeEnumIterator(CADShapeEnum start, CADShapeEnum end)
public abstract CADIterator newIterator()
public abstract CADGeomCurve2D newCurve2D(CADEdge E, CADFace F)
E
- The edge owning the curveF
- The face owning the curve
public abstract CADGeomCurve3D newCurve3D(CADEdge E)
E
- The edge owning this curve
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |