Assembly: VMAppCore.dll This class is to represent the CAD Operation.
Inheritance
object ← CADOperationExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
CADOperation()
Methods
BuildBody(Body)
Parameters
body Body
CheckValidationAboutBuild(Body, string)
Parameters
body Body
strXml string
Returns
boolDeleteBuilder(List<ObjectBase>, Document, bool)
Parameters
lstDeletedBuilder List<ObjectBase>
doc Document
bModified bool
GetBodyFaces(Body, ICollection<int>)
Parameters
bd Body
Colors ICollection<int>
Returns
List<Face>GetBodyFaces(Body)
Parameters
bd Body
Returns
List<Face>GetBodyNameAttribute(Body)
Parameters
body Body
Returns
stringGetBoundingBox(Body, TMatrix, ref Vector, ref Vector, BoxingMode)
Parameters
body Body
matT TMatrix
vecMinPt Vector
vecMaxPt Vector
boxingMode BoxingMode
Returns
boolGetDefaultMaxPenetration(Face, ref double)
Parameters
face Face
dMaxPenetration double
Returns
boolGetEdgeLength(Edge)
Parameters
edge Edge
Returns
doubleGetFaceArea(Face)
Parameters
face Face
Returns
doubleGetFacetInformationForFace(Face, FacetOption, ref VectorBase[], ref int[])
Parameters
face Face
options FacetOption
arPt VectorBase[]
arConnectivity int[]
GetManyTopologyColor(IEnumerable<Topology>)
Parameters
topologies IEnumerable<Topology>
Returns
Dictionary<UIntPtr, Color>GetPiecewiseCurve(List<Edge>, double, double, double, ref bool)
Parameters
lstEdges List<Edge>
dTol double
dLen double
dAngle double
bCloseLoop bool
Returns
List<VectorBase>GetPointAndDirectionFromFacet(Face, FacetOption, VectorBase, VectorBase)
Parameters
face Face
options FacetOption
vecPoint VectorBase
vecDirection VectorBase
Returns
boolGetTopologyColor(Topology, ref Color)
Parameters
topol Topology
color Color
Returns
boolGetVoidCount(Body)
Parameters
body Body
Returns
intGetVoidPoints(Body, double[], ref VectorBase[])
Parameters
body Body
ardScale double[]
arPoints VectorBase[]
Returns
intReDrawForHistory(IDrawIcon)
Parameters
itfDrawIcon IDrawIcon
RemoveDuplicatedEvent(Document)
Parameters
doc Document
SetNameAttribute(Body, string, bool, string)
Parameters
body Body
strName string
bUseAttribute bool
strOldName string
SetSelectionObject(Document3D)
Parameters
doc Document3D