public static final class PartsGetEdgesRequest.Builder extends Object
| Modifier and Type | Method | Description |
|---|---|---|
Number |
angleTolerance() |
Get Angle tolerance (in radians).
|
PartsGetEdgesRequest.Builder |
angleTolerance(Number value) |
Set Angle tolerance (in radians).
|
PartsGetEdgesResponse |
call(OnshapeDocument document,
String partid) |
Calls getEdges method, Get the tessellated edges of a part.
|
PartsGetEdgesResponse |
call(String did,
WVM wvmType,
String wvm,
String eid,
String partid) |
Calls getEdges method, Get the tessellated edges of a part.
|
Number |
chordTolerance() |
Get Chord tolerance (in meters).
|
PartsGetEdgesRequest.Builder |
chordTolerance(Number value) |
Set Chord tolerance (in meters).
|
String |
configuration() |
Get Configuration string
|
PartsGetEdgesRequest.Builder |
configuration(String value) |
Set Configuration string
|
String |
edgeId() |
Get Edges to tessellate (repeat query param to add more than one, i.e.
|
PartsGetEdgesRequest.Builder |
edgeId(String value) |
Set Edges to tessellate (repeat query param to add more than one, i.e.
|
String |
linkDocumentId() |
Get Id of document that links to the document being accessed.
|
PartsGetEdgesRequest.Builder |
linkDocumentId(String value) |
Set Id of document that links to the document being accessed.
|
String |
precomputedLevelOfDetail() |
Get medium, fine] If this parameter is specified, the provided level of detail will be retrieved from cache (if available) and used to return the tessellation in a more timely manner.
|
PartsGetEdgesRequest.Builder |
precomputedLevelOfDetail(String value) |
Set medium, fine] If this parameter is specified, the provided level of detail will be retrieved from cache (if available) and used to return the tessellation in a more timely manner.
|
public final Number angleTolerance()
public final PartsGetEdgesRequest.Builder angleTolerance(Number value)
value - Angle tolerance (in radians). This specifies the limit on the sum of the angular deviations of a tessellation chord from the tangent vectors at two chord endpoints. The specified value must be less than PI/2. This parameter currently has a default value chosen based on the complexity of the parts being tessellated.public final Number chordTolerance()
public final PartsGetEdgesRequest.Builder chordTolerance(Number value)
value - Chord tolerance (in meters). This specifies the limit on the maximum deviation of a tessellation chord from the true edge. This parameter currently has a default value chosen based on the size and complexity of the part being tessellated.public final String edgeId()
public final PartsGetEdgesRequest.Builder edgeId(String value)
value - Edges to tessellate (repeat query param to add more than one, i.e. edgeId=JHK&edgeId=JHD)public final String precomputedLevelOfDetail()
public final PartsGetEdgesRequest.Builder precomputedLevelOfDetail(String value)
value - medium, fine] If this parameter is specified, the provided level of detail will be retrieved from cache (if available) and used to return the tessellation in a more timely manner.public final String linkDocumentId()
public final PartsGetEdgesRequest.Builder linkDocumentId(String value)
value - Id of document that links to the document being accessed. This may provide additional access rights to the document. Allowed only with version (v) path parameter.public final String configuration()
public final PartsGetEdgesRequest.Builder configuration(String value)
value - Configuration stringpublic final PartsGetEdgesResponse call(String did, WVM wvmType, String wvm, String eid, String partid) throws OnshapeException
did - Document IDwvmType - Type of Workspace, Version or Microversionwvm - Workspace (w), Version (v) or Microversion (m) IDeid - Element IDpartid - Part ID (must be URL encoded)OnshapeException - On HTTP or serialization errorpublic final PartsGetEdgesResponse call(OnshapeDocument document, String partid) throws OnshapeException
document - Document object from Onshape URL.partid - Part ID (must be URL encoded)OnshapeException - On HTTP or serialization errorCopyright © 2021. All rights reserved.