pCon.planner Plugin SDK  Version 8.8.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | List of all members
X3g::Plugin::DbPolyline Class Reference

A line with two or more vertices. More...

Inheritance diagram for X3g::Plugin::DbPolyline:
Inheritance graph
[legend]

Public Member Functions

 DbPolyline (Layout::Page^ pPage)
 Create a DbPolyline on the given Page. More...
 
 DbPolyline (Block^ pOwner)
 Create a DbPolyline as child of the given Block. More...
 
void SetClosed (bool pClosed)
 If set to true there is a line between last and first point. More...
 
array< GeVec3d >^ GetVertices ()
 Returns a copy of the vertices this polyline is made of. More...
 
void SetVertices (array< GeVec3d >^pVertices)
 Sets the vertices this polyline is made of. More...
 
- Public Member Functions inherited from X3g::Plugin::DbCurve
GeVec3d GetPointAtDistance (double pDistance)
 Returns the point on this DbCurve corresponding to the given distance. More...
 
- Public Member Functions inherited from X3g::Plugin::DbEntity
GeMatrixGetTextureMatrix ()
 The texture matrix determines how to map the material texture to the entity. More...
 
void SetTextureMatrix (GeMatrix^ pMatrix)
 Sets the texture matrix. More...
 
bool TransformBy (GeMatrix^ pTransform)
 Transforms the entity. More...
 
GeMatrixGetTransientTransform ()
 Returns transient transformation of this entity. More...
 
void SetTransientTransform (GeMatrix^ pTransform)
 Sets the transient transformation of this entity. More...
 
void UpdateGeometry ()
 Updates the geometry of the entity. More...
 
void Delete ()
 Deletes the entity from the document. More...
 
GeBoundingBox3dGetBoundingBox (GeMatrix^ pTransform)
 Returns bounding box of entity within the owning blocks local coordinate system. More...
 
IPropertyProvider^ GetPropertyProvider ()
 Returns property provider of the entity. More...
 
DbEntityClone (Block^ pOwner)
 Creates a clone of the entity. More...
 
DbEntityCut2 (DbEntity^ pEntity)
 Subtracts pEntity from this object. More...
 
DbEntityCut2 (DbEntity^ pEntity, Block^ pToOwner)
 Subtracts pEntity from this object. More...
 
DbEntityCommon2 (DbEntity^ pEntity)
 Computes an object which represents all common geometry of this entity and pEntity. More...
 
DbEntityCommon2 (DbEntity^ pEntity, Block^ pToOwner)
 Computes an object which represents all common geometry of this entity and pEntity. More...
 
DbEntityFuse2 (DbEntity^ pEntity)
 Computes an object by merging all geometry of this entity and pEntity. More...
 
DbEntityFuse2 (DbEntity^ pEntity, Block^ pToOwner)
 Computes an object by merging all geometry of this entity and pEntity. More...
 
List< DbEntity^ >^ Slice (GePlane^ pPlane, bool pKeepBothHalves)
 Slice the DbEntity with the plane. More...
 
DbEntityPartialMove (GePlane^ pPlane, double pLength)
 Strech or shrink the DbEntity at the given plane. More...
 
void AddCallbacks (DbEntityCallbacks^ pCallbacks)
 Add callbacks to the entity. More...
 
void RemoveCallbacks (DbEntityCallbacks^ pCallbacks)
 Remove callbacks from entity. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from X3g::Plugin::DbEntity
static DbEntityFromId (String^ pEntityId)
 Creates DbEntity to given entity id. More...
 
- Package Functions inherited from X3g::Plugin::DbEntity
 DbEntity (Block^ pOwner, EntityImpl *pImpl)
 This constructor is used to create new OdDbEntities and add to a block. More...
 
 DbEntity (Layout::Page^ pPage, EntityImpl *pImpl)
 This constructor is used to create new OdDbEntities and add to a page. More...
 
- Properties inherited from X3g::Plugin::DbCurve
bool IsClosed [get]
 Returns true if the DbCurve is closed. More...
 
bool IsPlanar [get]
 Returns true if the DbCurve is planar. More...
 
double Length [get]
 Returns the length of this DbCurve. More...
 
- Events inherited from X3g::Plugin::DbEntity
System::EventHandler^  VisibilityChanged
 Occurs when DbEntity::IsVisible changed. More...
 

Detailed Description

A line with two or more vertices.

Constructor & Destructor Documentation

X3g::Plugin::DbPolyline::DbPolyline ( Layout::Page pPage)

Create a DbPolyline on the given Page.

X3g::Plugin::DbPolyline::DbPolyline ( Block pOwner)

Create a DbPolyline as child of the given Block.

Member Function Documentation

array< GeVec3d > X3g::Plugin::DbPolyline::GetVertices ( )

Returns a copy of the vertices this polyline is made of.

void X3g::Plugin::DbPolyline::SetClosed ( bool  pClosed)

If set to true there is a line between last and first point.

void X3g::Plugin::DbPolyline::SetVertices ( array< GeVec3d >^  pVertices)

Sets the vertices this polyline is made of.