|
AnyCAD Rapid API 2023
Help you to create a better world!
|
Public Member Functions | |
| EnumTopoShapeType | GetShapeType () |
| boolean | IsShapeType (EnumTopoShapeType type) |
| boolean | IsNullShape () |
| GBBox | GetBBox () |
| GBBox | GetOptimalBBox () |
| GTrsf | GetLocalTransform () |
| void | SetLocalTransform (GTrsf trf) |
| TopoShape | Transformed (GTrsf trf) |
| TopoShapeList | GetChildren (EnumTopoShapeType subType) |
| TopoShape | FindChild (EnumTopoShapeType subType, int idx) |
| int | FindChildIndex (TopoShape subShape) |
| boolean | IsOrientable () |
| EnumTopoOrientation | GetOrientation () |
| void | SetOrientation (EnumTopoOrientation orient) |
| TopoShape | Oriented (EnumTopoOrientation orient) |
| boolean | IsConvex () |
| boolean | IsEqualShape (TopoShape other) |
| boolean | IsSameShape (TopoShape other) |
| boolean | IsPartnerShape (TopoShape other) |
| boolean | IsClosed () |
| String | Write () |
Static Public Member Functions | |
| static TopoShape | Read (String buffer) |
<>
TopoShape
Represent the topology geometry shape.
| TopoShape TopoShape.FindChild | ( | EnumTopoShapeType | subType, |
| int | idx | ||
| ) |
Find the specified child shape
| subType | the shape type. |
| idx | the index starting from 0 |
| int TopoShape.FindChildIndex | ( | TopoShape | subShape | ) |
Get the inedex of the sub shape.
| subShape | the sub shape object |
| GBBox TopoShape.GetBBox | ( | ) |
Get bounding box��
| TopoShapeList TopoShape.GetChildren | ( | EnumTopoShapeType | subType | ) |
Get the specified children shapes
| subType | the shape type. |
| GTrsf TopoShape.GetLocalTransform | ( | ) |
Get local transform.
| GBBox TopoShape.GetOptimalBBox | ( | ) |
Get accurate bounding box. with low performance.
| EnumTopoOrientation TopoShape.GetOrientation | ( | ) |
Get oritation
| EnumTopoShapeType TopoShape.GetShapeType | ( | ) |
Get shape type
| boolean TopoShape.IsClosed | ( | ) |
Returns the closedness flag.
| boolean TopoShape.IsConvex | ( | ) |
Returns the convexness flag
| boolean TopoShape.IsEqualShape | ( | TopoShape | other | ) |
Returns True if two shapes are equal, i.e. if they
share the same TShape with the same Locations and
Orientations.
| boolean TopoShape.IsNullShape | ( | ) |
test if null
| boolean TopoShape.IsOrientable | ( | ) |
Returns the orientability flag.
| boolean TopoShape.IsPartnerShape | ( | TopoShape | other | ) |
Returns True if two shapes are partners, i.e. if
they share the same TShape. Locations and
Orientations may differ.
| boolean TopoShape.IsSameShape | ( | TopoShape | other | ) |
Returns True if two shapes are same, i.e. if they
share the same TShape with the same Locations.
Orientations may differ.
| boolean TopoShape.IsShapeType | ( | EnumTopoShapeType | type | ) |
Test if the shape type.
| type | the type you want to test. |
| TopoShape TopoShape.Oriented | ( | EnumTopoOrientation | orient | ) |
Returns a shape similar to <me> with the orientation set to.
| orient | the orientation. |
|
static |
Create from string.
| buffer | the string content. |
| String TopoShape.Write | ( | ) |
Write to string.